Welcome![Sign In][Sign Up]
Location:
Search - simple lexical analyzer in c

Search list

[ELanguageWANG词法分析-编译

Description: 一个简单的词法分析器,1代表字符,2代表关键字(命令字),4带表算符界符, 注:要把wangs.txt这个文件放在桌面上,然后在这个TXT里写上你要识别的语句。然后保存后关毕,在运行WANG词法分析.EXE进行词法分析。 完成识别后,会在相应的词面前出现以上代号。暂不能对数字进行识别。因为在某种请况下数字也可表是为字符……稍有困难,但完成老师的针对程序段:area=b+c*d。那简直是小菜一碟。-a simple lexical analyzer, a representative character, the two representatives keyword (command word), with four tables operator sector website Note : The wangs.txt the document on the desktop, then the TXT Lane write you to identify words. Then preserved customs Albert, running WANG lexical analysis. EXE for lexical analysis. After completing the identification, in the appropriate words appear in front of the above code. Provisional figures for the right not to identify. Because of the status of requests under certain figures might be for the characters ... the slightest difficulty, but the completion of procedural teachers : area = b, c * d. It is simply to touch.
Platform: | Size: 11528 | Author: linlins | Hits:

[Other词法分析最终定稿

Description: C写的词法分析器,能实现简单的文件查找, 如果表达式正确,则会在结果框中显示“正确”,否则会显示存在语法错误.这是我第一次上传如果大家发现有错误的文法没有报错,或者正确的文法却报错了,可以向我反映-C wrote lexical analyzer, able to find a simple document, if correct expression will be shown in the results box "correct", as it showed the existence of grammatical mistakes. This is the first time I upload If we found no errors in grammar error, or correct the errors of grammar is , I can reflect
Platform: | Size: 50720 | Author: 苏锦华 | Hits:

[ELanguagec

Description: 简单的词法分析小例子- Simple lexical analysis small example
Platform: | Size: 7168 | Author: 站长 | Hits:

[ELanguageWANG词法分析-编译

Description: 一个简单的词法分析器,1代表字符,2代表关键字(命令字),4带表算符界符, 注:要把wangs.txt这个文件放在桌面上,然后在这个TXT里写上你要识别的语句。然后保存后关毕,在运行WANG词法分析.EXE进行词法分析。 完成识别后,会在相应的词面前出现以上代号。暂不能对数字进行识别。因为在某种请况下数字也可表是为字符……稍有困难,但完成老师的针对程序段:area=b+c*d。那简直是小菜一碟。-a simple lexical analyzer, a representative character, the two representatives keyword (command word), with four tables operator sector website Note : The wangs.txt the document on the desktop, then the TXT Lane write you to identify words. Then preserved customs Albert, running WANG lexical analysis. EXE for lexical analysis. After completing the identification, in the appropriate words appear in front of the above code. Provisional figures for the right not to identify. Because of the status of requests under certain figures might be for the characters ... the slightest difficulty, but the completion of procedural teachers : area = b, c* d. It is simply to touch.
Platform: | Size: 11264 | Author: linlins | Hits:

[Other词法分析最终定稿

Description: C写的词法分析器,能实现简单的文件查找, 如果表达式正确,则会在结果框中显示“正确”,否则会显示存在语法错误.这是我第一次上传如果大家发现有错误的文法没有报错,或者正确的文法却报错了,可以向我反映-C wrote lexical analyzer, able to find a simple document, if correct expression will be shown in the results box "correct", as it showed the existence of grammatical mistakes. This is the first time I upload If we found no errors in grammar error, or correct the errors of grammar is , I can reflect
Platform: | Size: 50176 | Author: 苏锦华 | Hits:

[ELanguagelex

Description: 包含两个简单的词法分析器代码,一个是用c写的,另一个是用java写的。有一个说明文档。-Contains two simple lexical analyzer code, one is written with c, and the other is written in java. Document has a note.
Platform: | Size: 10240 | Author: 杨敏 | Hits:

[ELanguageLexicalAnalysis

Description: 用C++编写的一个简单C语言词法分析器,把需要分析的内容保存在C:\input.txt,分 析完毕好保存在C:\output.txt-Using C++ to prepare a simple C language lexical analyzer, the need to analyze the contents stored in C: \ input.txt, finished the analysis of well preserved in the C: \ output.txt
Platform: | Size: 2048 | Author: 雷天佑 | Hits:

[JSP/Javalexicalanalyzer

Description: 此程序使用在java环境下开发的,是一个功能简单的C语言词法分析器-The use of this procedure in the java development environment, is a simple C language lexical analyzer
Platform: | Size: 17408 | Author: lina | Hits:

[ELanguagewhile

Description: 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the statement while the grammar, or to the beginning of grammar symbols can not be derived from the statement. (2) The program should include the lexical analyzer, the statement can be carried out input lexical analysis, and then output the results. Lexical analyzer should be able to identify the keywords, identifiers, constants, operators and so on. (3) parser of the program can analyze the syntax of input to determine whether the input statement to meet the loop while the grammar. Priorities through a simple statement of the method of analysis to see whether it can reduce to the beginning of grammar symbols. (4) the program analyzer is the semantic analysis of the results of the output requirements of the output is three-address form.
Platform: | Size: 60416 | Author: 李伟霞 | Hits:

[ELanguageSimple_Language_Lexer

Description: 这是一个使用了LEX所编写的Simple语言的词法分析器。Simple语言的定义说明请看附件。这个LEX的源代码可以通过Parser Generator 2来转化成为h文件跟cpp文件。由于编译这两个文件需要使用到Parser Generator 2的C++库,所以就只上传了LEX的源代码,谁感兴趣的可以自己通过Parser Generator 2来转化。至于UNIX下面的LEX工具如果想要转化的话需要修改其主程序,另外需要将LEX源代码之中有关C++语言的表达形式修改成为相应的C语言的表现形式才行之。总体这样子。-This is one written by using the LEX lexical analyzer Simple language. Simple definition of the language description see annex. The LEX source code can be transformed into Parser Generator 2 to h file with the cpp file. As the compilation of these two files need to use the Parser Generator 2 in C++ library, so we just uploaded the source code for LEX, who may be of interest to themselves through Parser Generator 2 to transform. As for the UNIX tools LEX below if you want converted, then need to modify its main program, another will need to LEX source code into the C++ language, forms of expression changes as the corresponding C-language expressions of Caixing. Overall like this.
Platform: | Size: 182272 | Author: 林宇浩 | Hits:

[ELanguagelab3

Description: 用C++编写的简单的词法分析器,还请大家多多指教。-C++, written in a simple lexical analyzer, but also please the exhibitions.
Platform: | Size: 3072 | Author: wendongqin | Hits:

[ELanguageyufafenxishiyan

Description: 设计一个简单的词法分析器,从而进一步加深对词法分析器工作原理的理解。了解编译原理中词法分析器的原理,并用一种编程语言的具体代码实现简单的词法分析器的功能(在这里我使用C语言实现,代码可以完成简单的C语言程序中的关键词,变量,分界符,数字,运算符,赋值符。)-Design a simple lexical analyzer to further deepen the understanding of the lexical analyzer works. Compiler theory to understand the principles of lexical analyzer, and using a programming language specific code to achieve a simple lexical analyzer function (here I use the C language, the code can complete a simple C language program in the key words, variables, delimiter, numbers, operators, assignment operator.)
Platform: | Size: 109568 | Author: | Hits:

[ELanguagelexical.c

Description: 一个用C语言实现的简单的词法分析器。可作为编译原理课的参考。-Using C language implementation of a simple lexical analyzer.You can use it as a reference in Compiler theory class.
Platform: | Size: 1024 | Author: baiguo | Hits:

[ELanguage16755430cafa

Description: 该程序是词法分析器。它的的主要功能是实现在C原程序的编译。简单容易理解。-The program is the lexical analyzer. Its main function is to achieve the original program in the C compiler. Simple and easy to understand.
Platform: | Size: 3072 | Author: success | Hits:

[Windows DevelopSimple-C-lexical-analyzer

Description: 简单C词法分析器 C语言的字符串常量书写时使用了大量的转义符-Simple C lexical analyzer written in C language string constants used a large number of escapes
Platform: | Size: 3072 | Author: xiaoxiao | Hits:

[Othercifafenxi

Description: c++编写的词法分析器,能够对简单的语法错误进行检测和报错!-written in c++ lexical analyzer can be a simple syntax error detection and error!
Platform: | Size: 915456 | Author: zhong | Hits:

[CSharpCSharpcifa

Description: 很不错的词法分析实验报告 编译程序的第一阶段是词法分析,为了能把输入的字符串进行扫描和分解,识别出各种类型的单词符号,我用C++语言设计了一个简单词法分析器,分析C++语言单词的子集(包括常用关键字、标识符、常数、算符、界符等)。-Very good compiler lexical analysis lab report is the first stage of lexical analysis, in order to be able to scan the input string and decomposition, to identify various types of word symbols, I use C++ language, a simple lexical analyzer, Analysis of C++ language subset of words (including common keywords, identifiers, constants, operators, community character, etc.).
Platform: | Size: 599040 | Author: flylee | Hits:

[ELanguageword_analyse_program

Description: 用C语言编写的简单的词法分析器,能识别出单词序列,输出二元组,标识符表,常量表-Written in C a simple lexical analyzer can identify the sequence of words, the output pair, the identifier table, often scale
Platform: | Size: 442368 | Author: 淼淼 | Hits:

[ELanguageA-Simple-LexicalAnalyzer(C)

Description: 此程序是正对编译原理中所涉及到的词法分析程序所编译的一个简单的C语言版的词法分析程序。-This a simple Lexical Analyzer in the C environment.
Platform: | Size: 1024 | Author: 谭若斯 | Hits:

[Other resourcebianyiyuanli

Description: 用C或C++语言编写一个简单的词法分析程序,能够删除C/C++源程序中的所有注释,并输出处理后的结果。-Write a simple lexical analyzer, C or C++ language and be able to delete all comments in the C/C++ source, and output the result of the processing.
Platform: | Size: 50176 | Author: 张斌 | Hits:
« 12 »

CodeBus www.codebus.net